<?php
include("connect.php");
if($_POST['id'])
{
	$id = $_POST['id'];
	$column = $_POST['column'];
	$content = $_POST['content'];
	//echo "update information set $column='$content' where id='$id'";exit;
	if(mysql_query("update information set $column='$content' where id='$id'"))
	echo 'success';
}
?>